package com.project.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.project.bean.CountBean;
import com.project.entity.BiddEntity;
import com.project.entity.BiddSupplierEntity;
import com.project.entity.SupplierEntity;
import com.project.mapper.IBiddMapper;
import com.project.mapper.IBiddSupplierMapper;
import com.project.mapper.ICountMapper;
import com.project.mapper.ISupplierMapper;
import com.project.service.IBiddService;
import com.project.service.ICountService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.time.LocalDateTime;
import java.util.List;

@Service
@Transactional
public class CountServiceImpl implements ICountService {


    @Autowired
    private ICountMapper countMapper;

    @Override
    public List<CountBean> findCountByType(Integer type) {
        return countMapper.findCountByType(type);
    }




}
